package org.benjamin.lending.domain.form;

import org.hibernate.validator.constraints.NotBlank;

public class RealNameForm {
	
	@NotBlank(message = "用户姓名")
	private String userName;
	
	@NotBlank(message = "请输入身份证号码")
	private String idNumber;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	@Override
	public String toString() {
		return "RealNameForm [userName=" + userName + ", idNumber=" + idNumber + "]";
	}
	
	

}
